package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.pojo.system.SysMenu;
import com.atguigu.spzx.model.pojo.system.SysRoleMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author admin
* @description 针对表【sys_role_menu(角色菜单)】的数据库操作Service
* @createDate 2025-01-03 18:11:03
*/
public interface SysRoleMenuService extends IService<SysRoleMenu> {

    /*
     * @description: 根据角色id查询菜单信息
     **/
    List<SysMenu> findMenuByRoleId(Long id);

    boolean updateMenuByRoleId(Long id, List<Long> menuIds);

}
